package com.hzdesk.media.koreabatchmatvector.adapter;

import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;

import com.hzdesk.media.koreabatchmatvector.factory.FragmentFactory;


/**
 * Created by Administrator on 2018/6/19.
 * 杭州席媒科技有限公司  Developers  刘传华  15
 * 佛祖镇楼 bug辟易
 */

public class MyDeskmediaFragmentAdapter  extends FragmentPagerAdapter {
    public MyDeskmediaFragmentAdapter(FragmentManager fm) {
        super(fm);
    }

    @Override
    public Fragment getItem(int position) {
        return FragmentFactory.createFragment(position);
    }

    @Override
    public int getCount() {
        return 8;
    }
}
